package com.station.search.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author: JT
 * @date: 2021/8/31
 * @Title: 台站设备表
 */
@Setter
@Getter
@ToString
@TableName(value = "STATION_EQUIPMENT", autoResultMap = true)
public class StationEquipment {

    private Long id;
    /** 台站编号 */
    private String stationCode;
    /** 设备列表 */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private List<Map<String, Object>> equipments;

}
